﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<HuynhQuangWebsite.Models.Video>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
<!-- Validation form -->
<%using (Html.BeginForm("Create", "ManageVideo", FormMethod.Post, new { enctype = "multipart/form-data", @class = "form", id = "validate" }))
    { %>
    <!-- Multiple files uploader -->
    <div class="widget">
        <div class="title"><img src="../../Images/adminSite/icons/dark/upload.png" alt="" class="titleIcon" /><h6>Tải Logo hoặc hình ảnh của đối tác</h6></div>
        <div id="uploader"></div>
    </div>
    <fieldset>
        <div class="widget">
            <div class="title"><img src="../../Images/adminSite/icons/dark/pencil.png" alt="" class="titleIcon" /><h6>Thông tin liên hệ về công ty</h6></div>
            <div class="formRow">
                <label>Video:<span class="req">*</span></label>
                <div class="formRight"><input type="file" id="file1" name="uploadFile" /></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>Tiêu đề:<span class="req">*</span></label>
                <div class="formRight"><%:Html.TextBoxFor(model => model.VideoName, new { @class = "validate[required]", id = "req" })%></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>Diễn giải:<span class="req">*</span></label>
                <div class="formRight"><%:Html.TextAreaFor(model => model.VideoDesc, new { @class = "autoGrow", id = "textareaAutoGrow", rows = "8", cols = "" })%></div>
                <div class="clear"></div>
            </div>
             <div class="formRow">
                <label>Thứ tự:<span class="req">*</span></label>
                 <div class="formRight"><%:Html.TextBoxFor(model => model.SortOrder, new { @class = "validate[required]", id = "req" })%></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <div class="formRight">
                   <%=Html.CheckBoxFor(mode=>mode.VideoIsVisible) %><label for="check1">Cho phép hiển thị</label>
                </div>
                <div class="clear"></div>
            </div>
            
        </div>
        <div class="widget">
            
            <div class="formSubmit"><input type="reset" value="Xóa" class="blackB" /></div>
            <div class="formSubmit"><input type="submit" value="Lưu" class="redB" /></div>
            <div class="clear"></div>
            <div><%:Html.HiddenFor(model => model.VideoID)%></div>
        </div>
             
    </fieldset>
    <%} %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleAreaPlaceHolder" runat="server">
</asp:Content>
